package org.tulkas.selector.pattern;

import org.tulkas.selector.Filter;
import org.w3c.dom.Element;

/**
 * @author <a href="mailto:tulkas.web@gmail.com">Tulkas</a>
 *
 */
public class Any implements Filter {

	public Any() {
	}

	/* (non-Javadoc)
	 * @see org.tulkas.selector.Filter#getPriority()
	 */
	@Override
	public int getPriority() {
		return PRIORITY_ANY;
	}

	/* (non-Javadoc)
	 * @see org.tulkas.selector.Filter#matches(org.w3c.dom.Element)
	 */
	@Override
	public boolean matches(Element element) {
		return true;
	}

	@Override
	public String toString() {
		return "*";
	}

}
